<template>
  <div class="desc">
    <div class="shangpin-neirong">
      <span class="shangpin-neirong-content line-clamp-2">
        {{proData.name}}
      </span>
    </div>
    <div class="shangpin-price">
      <span class="curprice">￥{{proData.price}}</span>
      <span v-show="proData.marketPrice" class="primeprice">￥{{proData.marketPrice}}</span>
      <span v-show="proData.point">+ {{proData.point}}积分</span>
      <div id="yishou"><span>已售{{proData.sellhit}}</span></div>
      <div class="div-float-right"></div>
      <div class="curprice-small line-clamp-2" style="color:#000000;">{{proData.summary}}</div>
    </div>
    <div class="shangpin-addinfo"></div>
    <!-- <div class="shangpin-panel3">
      <div class="shangpin-panel3-item1">
          <img id="url2" src="https://evenyou.meimai94buy.com/weixinpl/mshop/images/dianpu2.png?x-oss-process=image/resize,w_260" style="display: inline-block;">
          <span id="name">{{proData.storename?proData.storename:"美麦就好"}}</span>
      </div>
    </div> -->
    <!-- <div class="shangpin-addinfo"></div> -->
  </div>
</template>

<script>
export default {
  name: 'DetailDesc',
  props: {
    proData: Object
  }
}
</script>

<style lang="stylus" scoped>
  .shangpin-neirong
    padding: .15rem .2rem
    .shangpin-neirong-content
      font-size: .3rem
      color: #2a2a2a
      display: block
      line-height: .45rem
  .shangpin-price
    padding: .15rem .2rem
    .curprice
      color: #ec2935
      font-size: .36rem;
      margin-left: -.06rem;
    .primeprice
      color: grey
      font-size: .26rem
      text-decoration: line-through
    #yishou
      float: right
      color: grey
      font-size: .26rem
    .curprice-small
      font-size: .24rem
      clear: both
      letter-spacing: .006rem
      line-height: .5rem
  .shangpin-addinfo
    padding: 0 .2rem .1rem .2rem
    border-bottom: .2rem solid #eee
  .shangpin-panel3
    background: white
    position: relative
    padding: 3%
    font-size: 0
    border-top: 1px solid #eee
    #url2
      display: inline-block
      vertical-align: middle
      width: 22%
      margin-left: 2%
      border: 1px solid #eee
    #name
      white-space: nowrap
      overflow: hidden
      text-overflow: ellipsis
      width: 60%
      display: inline-block
      vertical-align: middle
      font-size: .32rem
      margin-left: 3%
      margin-right: 1%
</style>
